package strings;
import java.util.*;
public class usingStringBuilder {
    public static Random rand=new Random(47);

    @Override
    public String toString() {
        StringBuilder result=new StringBuilder("[");
        for(int i=0;i<25;i++){
            result.append(rand.nextInt(100));
            result.append(", ");
        }
        result.delete(result.length()-1,result.length());
        result.append("]");
        return result.toString();
    }

    public static void main(String[] args) {
        usingStringBuilder usb=new usingStringBuilder();
        System.out.println(usb);
    }
}
